<!--

NOTICE:
网页样式参考于 http://www.layui.com/admin/std/dist/views/

如有新功能添加可参考上述网址


-->


<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:sitemesh="http://www.sitemesh3.org">
<head>
    <meta charset="utf-8">
    <title th:utext="#{app.title.name}"></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <!-- progress bar -->
    <link rel="stylesheet" href="/resources/css/common/nprogress.css"/>
    <link rel="stylesheet" href="/resources/layui/css/layui.css"/>
    <link rel="stylesheet" href="/resources/css/theme/app.css"/>
    <link rel="stylesheet" href="/resources/css/theme/crud.css"/>
    <link rel="stylesheet" href="/resources/css/common/validator.css"/>
    <link rel="stylesheet" href="/resources/layui/css/modules/formSelects-v4.css"/>

    <!--[if lt IE 9]>
    <script src="//cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="//cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="/resources/js/jquery/jquery-1.12.4.min.js"></script>
    <script src="/resources/js/common/common.js"></script>
    <script src="/resources/js/common/decorator.js"></script>
    <script src="/resources/js/common/validator.js"></script>
    <script th:src="|/resources/js/lang_base_#{common.lang}.js|"></script>
    <script th:src="|/resources/js/lang_#{common.lang}.js|"></script>
    <script src="/resources/js/common/validator.list.js"></script>

    <sitemesh:write property='head' />
</head>
<body class="layui-layout-body">
<script src="/resources/js/common/nprogress.js"></script>
<div id="frame2_app" class="">
    <div class="layout layui-layout layui-layout-admin">
        <div class="header layui-header">
            <div class="layui-logo logo" lay-href="/index">
                <span th:utext="#{app.name}"></span>
            </div>
            <!-- 头部区域 -->
            <ul class="head-left layui-nav layui-layout-left">
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;" th:title="#{decorator.btn.slide.title}" title="侧边伸缩"
                       id="frame2_app_flexible">
                        <i class="layui-icon"></i>
                        <!--<i class="layui-icon layui-icon-spread-left" ></i>-->
                    </a>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right">

                <li class="layui-nav-item" lay-unselect>
                    <a lay-href="app/message/index.html" lay-text="消息中心">
                        <i class="layui-icon layui-icon-notice"></i>

                        <!-- 如果有新消息，则显示小圆点 -->
                        <span class="layui-badge-dot"></span>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs">
                    <a href="javascript:;">
                        <i class="layui-icon layui-icon-theme"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;">
                        <cite th:text="${session['USER'].nickName}">贤心</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <!--<dd><a lay-href="set/user/info.html">基本资料</a></dd>
                        <dd><a lay-href="set/user/password.html">修改密码</a></dd>
                        <hr>-->
                        <dd style="text-align: center;"><a href="/logout">退出</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:;">
                        <cite th:text="#{decorator.btn.lang}">语言</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <!--<dd><a lay-href="set/user/info.html">基本资料</a></dd>
                        <dd><a lay-href="set/user/password.html">修改密码</a></dd>
                        <hr>-->
                        <dd th:if="#{common.lang}!='en'" style="text-align: center;">
                            <a href="javascript:" class="lang" lang="en" th:utext="English"></a>
                        </dd>
                        <dd th:if="#{common.lang}!='zh'" style="text-align: center;">
                            <a href="javascript:" class="lang" lang="zh" th:utext="中文"></a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" layadmin-event="about">
                        <i class="layui-icon layui-icon-more-vertical"></i></a>
                </li>
            </ul>
        </div>

        <!-- 侧边菜单 -->
        <div class="side-menu">
            <div class="menu-container">
                <!--<dl class="menu">
                    <dd class="menu-item">
                        <a href="javascript:">
                            <i class="layui-icon layui-icon-home"></i>
                            <cite>主页</cite>
                        </a>
                        <dl class="menu">
                            <dd class="menu-item">
                                <a href="home/console.html">控制台</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd class="menu-item">
                        <a href="javascript:;" >
                            <i class="layui-icon layui-icon-component"></i>
                            <cite>组件</cite>
                        </a>
                        <dl class="menu">
                            <dd class="menu-item">
                                <a href="javascript:;">栅格</a>
                                <dl class="menu">
                                    <dd class="menu-item"><a href="component/grid/list.html">等比例列表排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/mobile.html">按移动端排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/mobile-pc.html">移动桌面端组合</a> </dd>
                                    <dd class="menu-item"><a href="component/grid/all.html">全端复杂组合</a></dd>
                                    <dd class="menu-item"><a href="component/grid/stack.html">低于桌面堆叠排列</a></dd>
                                    <dd class="menu-item"><a href="/dcrud/user/">用户查询</a></dd>
                                </dl>
                            </dd>
                            <dd class="menu-item">
                                <a href="component/button/index.html">
                                    按钮
                                </a>
                            </dd>
                            <dd class="menu-item">
                                <a href="javascript:;">栅格</a>
                                <dl class="menu">
                                    <dd class="menu-item"><a href="component/grid/list.html">等比例列表排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/mobile.html">按移动端排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/mobile-pc.html">移动桌面端组合</a> </dd>
                                    <dd class="menu-item"><a href="component/grid/all.html">全端复杂组合</a></dd>
                                    <dd class="menu-item"><a href="component/grid/stack.html">低于桌面堆叠排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/speed-dial.html">九宫格</a></dd>
                                </dl>
                            </dd>
                            <dd class="menu-item">
                                <a href="component/button/index.html">
                                    按钮
                                </a>
                            </dd>
                            <dd class="menu-item">
                                <a href="javascript:;">栅格</a>
                                <dl class="menu">
                                    <dd class="menu-item"><a href="component/grid/list.html">等比例列表排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/mobile.html">按移动端排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/mobile-pc.html">移动桌面端组合</a> </dd>
                                    <dd class="menu-item"><a href="component/grid/all.html">全端复杂组合</a></dd>
                                    <dd class="menu-item"><a href="component/grid/stack.html">低于桌面堆叠排列</a></dd>
                                    <dd class="menu-item"><a href="component/grid/speed-dial.html">九宫格</a></dd>
                                </dl>
                            </dd>
                            <dd class="menu-item">
                                <a href="component/button/index.html">
                                    按钮
                                </a>
                            </dd>
                        </dl>

                    </dd>
                </dl>-->
                <div th:replace="common/menu::menu(menuList=${session['MENU']})"></div>
            </div>
        </div>
        <!-- 主体内容 -->
        <div class="content layui-body">
            <sitemesh:write property='body' />
        </div>
        <!-- 辅助元素，一般用于移动设备下遮罩 -->
        <div id="shade" class="shade"></div>
        <script src="/resources/layui/layui.all.js"></script>
        <script src="/resources/layui/lay/modules/fromSelects-v4.js"></script>
    </div>
</div>
<script>
</script>
</body>
</html>


